# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'mlib.ui'
#
# Created: Fri May 29 01:00:13 2009
#      by: PyQt4 UI code generator 4.4.4
#
# WARNING! All changes made in this file will be lost!

from PyQt4 import QtCore, QtGui

class Ui_MainWindow(object):
    def setupUi(self, MainWindow):
        MainWindow.setObjectName("MainWindow")
        MainWindow.resize(538, 456)
        MainWindow.setDockNestingEnabled(False)
        self.centralwidget = QtGui.QWidget(MainWindow)
        self.centralwidget.setObjectName("centralwidget")
        self.verticalLayout_2 = QtGui.QVBoxLayout(self.centralwidget)
        self.verticalLayout_2.setObjectName("verticalLayout_2")
        self.splitter_2 = QtGui.QSplitter(self.centralwidget)
        self.splitter_2.setOrientation(QtCore.Qt.Horizontal)
        self.splitter_2.setObjectName("splitter_2")
        self.splitter = QtGui.QSplitter(self.splitter_2)
        self.splitter.setOrientation(QtCore.Qt.Vertical)
        self.splitter.setObjectName("splitter")
        self.artistView = QtGui.QTreeView(self.splitter)
        self.artistView.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.artistView.setUniformRowHeights(True)
        self.artistView.setObjectName("artistView")
        self.albumView = QtGui.QTreeView(self.splitter)
        self.albumView.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.albumView.setUniformRowHeights(True)
        self.albumView.setObjectName("albumView")
        self.layoutWidget = QtGui.QWidget(self.splitter_2)
        self.layoutWidget.setObjectName("layoutWidget")
        self.verticalLayout = QtGui.QVBoxLayout(self.layoutWidget)
        self.verticalLayout.setObjectName("verticalLayout")
        self.tagsView = QtGui.QTreeView(self.layoutWidget)
        self.tagsView.setLayoutDirection(QtCore.Qt.LeftToRight)
        self.tagsView.setEditTriggers(QtGui.QAbstractItemView.NoEditTriggers)
        self.tagsView.setAlternatingRowColors(True)
        self.tagsView.setSelectionMode(QtGui.QAbstractItemView.ExtendedSelection)
        self.tagsView.setSelectionBehavior(QtGui.QAbstractItemView.SelectRows)
        self.tagsView.setRootIsDecorated(False)
        self.tagsView.setUniformRowHeights(True)
        self.tagsView.setObjectName("tagsView")
        self.verticalLayout.addWidget(self.tagsView)
        self.horizontalLayout = QtGui.QHBoxLayout()
        self.horizontalLayout.setObjectName("horizontalLayout")
        self.label = QtGui.QLabel(self.layoutWidget)
        self.label.setObjectName("label")
        self.horizontalLayout.addWidget(self.label)
        self.lineEdit = QtGui.QLineEdit(self.layoutWidget)
        self.lineEdit.setObjectName("lineEdit")
        self.horizontalLayout.addWidget(self.lineEdit)
        self.verticalLayout.addLayout(self.horizontalLayout)
        self.verticalLayout_2.addWidget(self.splitter_2)
        MainWindow.setCentralWidget(self.centralwidget)
        self.menubar = QtGui.QMenuBar(MainWindow)
        self.menubar.setGeometry(QtCore.QRect(0, 0, 538, 26))
        self.menubar.setObjectName("menubar")
        self.menuSelection = QtGui.QMenu(self.menubar)
        self.menuSelection.setObjectName("menuSelection")
        MainWindow.setMenuBar(self.menubar)
        self.statusbar = QtGui.QStatusBar(MainWindow)
        self.statusbar.setObjectName("statusbar")
        MainWindow.setStatusBar(self.statusbar)
        self.actionAdd_to_playlist = QtGui.QAction(MainWindow)
        self.actionAdd_to_playlist.setObjectName("actionAdd_to_playlist")
        self.actionChange_tags = QtGui.QAction(MainWindow)
        self.actionChange_tags.setObjectName("actionChange_tags")
        self.menuSelection.addAction(self.actionAdd_to_playlist)
        self.menuSelection.addAction(self.actionChange_tags)
        self.menubar.addAction(self.menuSelection.menuAction())

        self.retranslateUi(MainWindow)
        QtCore.QObject.connect(self.actionChange_tags, QtCore.SIGNAL("activated()"), MainWindow.batchRetag)
        QtCore.QObject.connect(self.actionAdd_to_playlist, QtCore.SIGNAL("activated()"), MainWindow.addSelToPlaylist)
        QtCore.QObject.connect(self.albumView, QtCore.SIGNAL("activated(QModelIndex)"), MainWindow.setAlbumFilter)
        QtCore.QObject.connect(self.artistView, QtCore.SIGNAL("activated(QModelIndex)"), MainWindow.setArtistFilter)
        QtCore.QMetaObject.connectSlotsByName(MainWindow)

    def retranslateUi(self, MainWindow):
        MainWindow.setWindowTitle(QtGui.QApplication.translate("MainWindow", "Media Library", None, QtGui.QApplication.UnicodeUTF8))
        self.label.setText(QtGui.QApplication.translate("MainWindow", "Find: ", None, QtGui.QApplication.UnicodeUTF8))
        self.menuSelection.setTitle(QtGui.QApplication.translate("MainWindow", "Selection", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_to_playlist.setText(QtGui.QApplication.translate("MainWindow", "Add to playlist", None, QtGui.QApplication.UnicodeUTF8))
        self.actionAdd_to_playlist.setShortcut(QtGui.QApplication.translate("MainWindow", "Ins", None, QtGui.QApplication.UnicodeUTF8))
        self.actionChange_tags.setText(QtGui.QApplication.translate("MainWindow", "Change tags...", None, QtGui.QApplication.UnicodeUTF8))

